
        <div class="box box-primary">
            <br/>
            <form role="form" class="form-horizontal {$attr.class}"
            <notempty name="attr.name">name="{$attr.name}" id="{$attr.name}"
                <else/>
                id="pageForm" name="pageForm"
            </notempty>
            <notempty name="attr.action">action="{$attr.action}"</notempty>
            <notempty name="attr.method">method="{$attr.method}"</notempty>
            <notempty name="attr.target">target="{$attr.target}"</notempty>
            <notempty name="attr.enctype">enctype="{$attr.enctype}"</notempty>
            >
            <div class="box-body no-padding">
                <volist name="items" id="item" key="k">
                    <switch name="item.type">
                        <case value="text" break="1">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">{$item.title}</label>
                                <div class="col-sm-4">
                                    <include file='./Common/Builder/Form/text.html'/>
                                </div>
                                <notempty name="item.form.help">
                                    <span class="help-block">{$item.form.help}</span>
                                </notempty>
                            </div>
                        </case>

                        <case value="email" break="1">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">{$item.title}</label>
                                <div class="col-sm-4">
                                    <include file='./Common/Builder/Form/email.html'/>
                                </div>
                                <notempty name="item.form.help">
                                    <span class="help-block">{$item.form.help}</span>
                                </notempty>
                            </div>
                        </case>

                        <case value="textarea" break="1">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">{$item.title}</label>
                                <div class="col-sm-6">
                                    <include file='./Common/Builder/Form/textarea.html'/>
                                </div>
                                <notempty name="item.form.help">
                                    <span class="help-block">{$item.form.help}</span>
                                </notempty>
                            </div>
                        </case>

                        <case value="select" break="1">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">{$item.title}</label>
                                <div class="col-sm-4">
                                    <include file='./Common/Builder/Form/select.html'/>
                                </div>
                                <notempty name="item.form.help">
                                    <span class="help-block">{$item.form.help}</span>
                                </notempty>
                            </div>
                        </case>

                        <case value="dict" break="1">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">{$item.title}</label>
                                <div class="col-sm-4">
                                    <include file='./Common/Builder/Form/dict.html'/>
                                </div>
                                <notempty name="item.form.help">
                                    <span class="help-block">{$item.form.help}</span>
                                </notempty>
                            </div>
                        </case>

                        <case value="editor" break="1">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">{$item.title}</label>
                                <div class="col-sm-8">
                                    <include file='./Common/Builder/Form/editor.html'/>
                                </div>
                                <notempty name="item.form.help">
                                    <span class="help-block">{$item.form.help}</span>
                                </notempty>
                            </div>
                        </case>

                        <case value="datetime" break="1">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">{$item.title}</label>
                                <div class="col-sm-4">
                                    <include file='./Common/Builder/Form/datetime.html'/>
                                </div>
                                <notempty name="item.form.help">
                                    <span class="help-block">{$item.form.help}</span>
                                </notempty>
                            </div>
                        </case>

                        <case value="date" break="1">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">{$item.title}</label>
                                <div class="col-sm-4">
                                    <include file='./Common/Builder/Form/date.html'/>
                                </div>
                                <notempty name="item.form.help">
                                    <span class="help-block">{$item.form.help}</span>
                                </notempty>
                            </div>
                        </case>

                        <case value="time" break="1">
                            <div class="form-group row">
                                <label class="col-sm-2 control-label">{$item.title}</label>
                                <div class="col-sm-4">
                                    <include file='./Common/Builder/Form/time.html'/>
                                </div>
                                <notempty name="item.form.help">
                                    <span class="help-block">{$item.form.help}</span>
                                </notempty>
                            </div>
                        </case>

                        <case value="number" break="1">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">{$item.title}</label>
                                <div class="col-sm-2 ">
                                    <include file='./Common/Builder/Form/number.html'/>
                                </div>
                                <notempty name="item.form.help">
                                    <span class="help-block">{$item.form.help}</span>
                                </notempty>
                            </div>
                        </case>

                        <case value="relation" break="1">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">{$item.title}</label>
                                <div class="col-sm-6">
                                    <include file='./Common/Builder/Form/relation.html'/>
                                </div>
                            </div>
                        </case>

                        <case value="hidden" break="1">
                            <include file='./Common/Builder/Form/hidden.html'/>
                        </case>
                        <case value="key" break="1">
                            <include file='./Common/Builder/Form/hidden.html'/>
                        </case>
                    </switch>
                </volist>
            </div>
            <div class="box-footer">
                <div class="col-sm-4 col-sm-offset-2">
                    <button type="submit" class="btn btn-primary">确定</button>
                    <button type="reset" class="btn btn-default ">取消</button>
                </div>
                <div class="col-sm-2">
                    <a class="btn btn-link" href="javascript:void(0);" onclick="window.history.back();">返回</a>
                </div>
            </div>
            </form>
        </div>